set -xe
go build -v -buildmode=c-shared -o libsendemail.so sendemail_lib.go
mv libsendemail.h rsendemail/include
mv libsendemail.so rsendemail/lib